package com.fxy.Entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
@Data
public class QuestionEntity implements Serializable{
    // 问题id
    private Integer id;
    //提问学生
    private Integer studentId;
    //指定回答教师
    private Integer teacherId;
    //问题标题
    private String questionTitle;
    //问题内容
    private String questionContent;
    //提问时间 , timezone="GMT+8"
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date questionTime;
    //是否回复
    private int reply;
}
